// 引入指令
import backtop from './modules/vbacktop.js'
// 引入指令
import draggable from './modules/vdraggable.js' 

const directives = { // 指令对象
    backtop,
    draggable
}

export default {
    install(app) {
      Object.keys(directives).forEach((key) => {
        app.directive(key, directives[key])
      });
    }
}